package com.bdmc.smokesensor.iservices;

import java.util.List;
import java.util.Map;

import com.bdmc.smokesensor.entity.Smk_Devices;

import org.springframework.web.multipart.MultipartFile;

public interface ISmk_DevicesService  extends IBaseService<Smk_Devices> {
  public void updateDelete(int id);
  public Map<String, Object> findByPageable(int depid,String devName,int gc_id,int page,int size);
  Map<String,Integer> batchImport(String fileName, MultipartFile file) throws Exception;
  public List<Map<String, Object>> findForExcel(int depid, String devName, int gc_id);
  public Smk_Devices findByImei(String iemi);
  public Smk_Devices findByDevId(String devId);
  public Smk_Devices findByImeiAndIdNot(String imei,int id);
  public List<Smk_Devices> findBySmkBuildingId(int smkBuildingId);
  public Map<String, Object> findDevTypeSum(int depid) ;
}
